package com.hxzy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hxzy.entity.SysMenu;
import com.hxzy.service.SysMenuService;
import com.hxzy.mapper.SysMenuMapper;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
* @author 11452
* @description 针对表【sys_menu(菜单权限表)】的数据库操作Service实现
* @createDate 2023-09-26 09:44:31
*/
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu>
    implements SysMenuService{

    @Override
    public Set<String> ownerMenuByUserId(Long userId) {
        return this.baseMapper.ownerMenuByUserId(userId);
    }
}




